import Axios from "axios";
import env from "@/config/env";

export default {
  GetBpmValidityTime(): Promise<Api.Response> {
    return Axios.get(`${env.bpmUri}/Portal/InstanceController/validityTime`);
  },

  // 获取待办数量
  GetUnfinishAmount(code: string): Promise<Api.Response> {
    return Axios.get(`${env.bpmUri}/Portal/InstanceController/unfinish?code=${code}`);
  }
};
